# Test Tools
A sample application demonstrating best practices for the development of "106/206 devices."
The system signature is boemscan.jks

## Home Page:

### 1. Dual Camera Display
- Developed using standard Android APIs.
- Example: `CameraActivity`.

### 2. Flashlight
- Modify the value of the file "/sys/class/leds/pwm-flash/brightness" with a range from 0 to 255.
- Example: `DeerUtils`.

### 3. Relay
- Change the state of "/sys/class/gpio/gpio114/direction" to 'out' in the app.
- Control the on/off switch by setting the value of the file "/sys/class/gpio/gpio114/value" to 0 or 1.
- Example: `RelayUtils`.

### 4. OTG/HOST Switch
- Write 'otg' or 'host' to the file "/sys/devices/platform/fe8a0000.usb2-phy/otg_mode".
- Example: `OtgActivity`.

### 5. Screen Touch
- Detect if there are any issues with the screen.
- Example: `TouchActivity`.

### 6. Screen Display
- Detect if there are any issues with the screen.
- Example: `ScreenActivity`.

### 7. Left and Right Audio Channels
- Test microphone functionality using standard Android APIs.
- Example: `TrackMusicActivity`.

### 9. RS232 Functionality
- Serial port 232, file path: /dev/ttyS5.
- Example: `Rs232Activity`.

### 10. RS485 Functionality
- Serial port 485, file path: /dev/ttyS6.
- Example: `Rs485Activity`.

### 11. Card Swiping Functionality
- Demonstrates the card-swiping module, including regular card swiping and ID card reading.
- Example: `CardTestActivity`.

### 12. QR Code Scanning Functionality
- Demonstrates the device's QR code scanning capability via serial port /dev/ttyS8.
- Example: `QrActivity`.

### 13. Alarm Functionality
- Demonstrates the alarm functionality. Note: Set the file attribute to "in" when using.
- Example: `WarnActivity`.

### 14. Device Information
- Displays basic device information and activates the ID card cloud service.
- Example: `DeviceInfoActivity`.

### 15. Recording Functionality
- Demonstrates the device's recording capability using standard Android APIs.
- Example: `AudioRecordingActivity`.

### 16. Text-to-Speech
- Demonstrates the device's text-to-speech functionality using standard Android APIs.
- Example: `TtsVideoActivity`.
